<template>
	<div id="deteil">
		<div class="navBar">
			<uni-icons type="back" size="14" color="#fff" id="icon" @tap='goBack()'></uni-icons>
			<span class="title">详情</span>
		</div>
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
			style="height: 400rpx; width: 650rpx; border-radius: 30rpx;margin: auto;overflow: hidden;margin-top: 50rpx;">
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/1.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/2.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/1.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/2.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/1.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/2.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/1.jpg" alt=""></view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item"><img src="../../static/image/2.jpg" alt=""></view>
			</swiper-item>
		</swiper>

		<textarea name="" id="" textarea=true cols="30" auto-height=true rows="10" maxlength=400 @blur="getText"  disabled=true v-model="txt"
style="margin: auto;margin-top: 40rpx;width: 650rpx; padding: 18rpx;background-color:#41C595;  border-radius: 25rpx 25rpx 25rpx 25rpx;color: #fff; "></textarea>
	</div>
</template>

<script>
	export default {
		data() {

			return {
				txt: "先帝创业未半而中道崩殂，今天下三分，益州疲弊，此诚危急存亡之秋也。然侍卫之臣不懈于内，忠志之士忘身于外者，盖追先帝之殊遇，欲报之于陛下也。诚宜开张圣听，以光先帝遗德，恢弘志士之气，不宜妄自菲薄，引喻失义，以塞忠谏之路也。　　宫中府中，俱为一体；陟罚臧否，不宜异同。若有作奸犯科及为忠善者，宜付有司论其刑赏，以昭陛下平明之理，不宜偏私，使内外异法也。　　侍中、侍郎郭攸之、费祎、董允等，此皆良实，志虑忠纯，是以先帝简拔以遗陛下。愚以为宫中之事，事无大小，悉以咨之，然后施行，必能裨补阙漏，有所广益。　　将军向宠，性行淑均，晓畅军事，试用于昔日，先帝称之曰能，是以众议举宠为督。愚以为营中之事，悉以咨之，必能使行阵和睦，优劣得所。  亲贤臣，远小人，此先汉所以。",
				imageValue: [],
				files: [],
				num: 1,
				text: "",
				textList: [{
						text: "该学生"
					},
					{
						text: "近期表现"
					},
					{
						text: "良好"
					},
					{
						text: "很差"
					},
					{
						text: "非常不错"
					},
					{
						text: "十分不错"
					}
				]

			};
		},
		methods: {

			goBack() {
				uni.navigateBack({
					delta: 1
				})
			},
		}
	}
</script>


<style>
	.navBar {
		height: 72rpx;
		background: #49C595;
		padding-top: 84rpx;
		position: relative;
	}

	.navBar>span {
		margin: auto;
	}

	#icon {
		margin-left: 69rpx;
		font-size: 18px;
	}

	.title {
		color: #FFF;
		position: absolute;
		left: 50%;
		transform: translate(-50%)
	}

	.swiper-item {
		text-align: center;
	}

	.swiper-item>img {
		height: 400rpx;
	}
</style>